/*
 * @Description: 事件总线 eventBus 机制
 * @Author: James324
 * @Date: 2024-01-15 15:32:24
 * @LastEditors: shilinzhou
 * @LastEditTime: 2024-01-16 09:36:43
 */
import mitt from 'mitt';
import { App } from 'vue';

export default {
    install(app: App) {
        app.config.globalProperties.emitter = mitt();
    }
};
